<?php
/**
 * Created by PhpStorm.
 * User: 20860
 * Date: 2024/1/5
 * Time: 14:21
 */
namespace app\port\controller;
use app\port\model\Homemenu;

class Homemenus extends Base{
    public function getHomemenus(){
        $res = Homemenu::where(['status'=>1])->select();
        if($res){
<<<<<<< HEAD
            return $this->repuest_json($res,true);
        }else{
            return $this->repuest_json($res);
=======
            return $this->request_json($res,true);
        }else{
            return $this->request_json($res);
>>>>>>> shool
        }
    }
}